package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffDeptTargetTaskBookIdDto
 * @使用场景
 */
@Data
public class BffDeptTargetTaskBookIdDto implements Serializable {

    /**
     * 被评对象目标周期ID
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String evaObjTargetCycleId;

    /**
     * 被评对象内容表主键ID
     */
    @ApiModelProperty("被评对象内容表主键ID")
    private String evaObjEntityId;

    /**
     * 部门简称
     */
    @ApiModelProperty("部门简称")
    private String deptShortName;

    /**
     * 状态校验项ID
     */
    @ApiModelProperty("状态校验项ID")
    private String statusCheckItemId;

    /**
     * 检查项标识
     */
    @ApiModelProperty("检查项标识")
    private String checkItemCode;

    /**
     * 是否已完成 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否已完成")
    private String isComplete;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffDeptTargetTaskBookIdDto that = (BffDeptTargetTaskBookIdDto) o;
        return evaObjTargetCycleId == that.evaObjTargetCycleId && evaObjEntityId == that.evaObjEntityId && deptShortName == that.deptShortName && statusCheckItemId == that.statusCheckItemId && checkItemCode == that.checkItemCode && isComplete == that.isComplete;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), evaObjTargetCycleId, evaObjEntityId, deptShortName, statusCheckItemId, checkItemCode, isComplete);
    }


}
   